package com.zimmur.model.account;

import java.util.ArrayList;
import java.util.List;

import com.zimmur.model.base.BaseModel;
import com.zimmur.model.goods.Goods;

public class GoodsUser extends BaseModel{
	private static final long serialVersionUID = -4221083483299747923L;

	private long userId=0;
    
    private String mobileNo="";
    private String qq="";
    private String nickName="";
    private String signature="";
    private String userIcon="";
    private String occupation="";
    private String categoryCode="xk";
    private String categoryName="xk";
    
    //文章数
    private Integer topicNum=0;
    //关注粉丝数
    private Integer followNum=0;
    //用户标签
    private String tags="";
    //商品数
    private Integer goodsNum=0;
    //销售数量
    private Integer saleNum=0;
    //是否关注
    private Integer isConcern=0;
    
    private List<Goods> goodsList=new ArrayList<>();
    
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	
	public String getMobileNo() {
		return mobileNo;
	}
	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getUserIcon() {
		return userIcon;
	}
	public void setUserIcon(String userIcon) {
		this.userIcon = userIcon;
	}
	
	public String getOccupation() {
		return occupation;
	}
	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public Integer getTopicNum() {
		return topicNum;
	}
	public void setTopicNum(Integer topicNum) {
		this.topicNum = topicNum;
	}
	public Integer getFollowNum() {
		return followNum;
	}
	public void setFollowNum(Integer followNum) {
		this.followNum = followNum;
	}
	
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public Integer getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}
	
	public Integer getSaleNum() {
		return saleNum;
	}
	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}
	public Integer getIsConcern() {
		return isConcern;
	}
	public void setIsConcern(Integer isConcern) {
		this.isConcern = isConcern;
	}
	public List<Goods> getGoodsList() {
		return goodsList;
	}
	public void setGoodsList(List<Goods> goodsList) {
		this.goodsList = goodsList;
	}
	@Override
	public String toString() {
		return "GoodsUser [userId=" + userId + ", mobileNo=" + mobileNo + ", qq=" + qq + ", nickName=" + nickName
				+ ", signature=" + signature + ", userIcon=" + userIcon + ", occupation=" + occupation
				+ ", categoryCode=" + categoryCode + ", categoryName=" + categoryName + ", topicNum=" + topicNum
				+ ", followNum=" + followNum + ", tags=" + tags + ", goodsNum=" + goodsNum + ", saleNum=" + saleNum
				+ ", isConcern=" + isConcern + ", goodsList=" + goodsList.size() + "]";
	}
	
	
}